package com.example.demo.mapper;

import com.example.demo.domain.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {
    int InsertAdmin(Admin admin);
    Admin SelectAdmin(Integer id);
    List<Admin> SelectAll();
    int DeleteAdmin(Integer id);
    int UpdateAdmin(Admin admin);
    Admin VerifyLogin(String user_name,String password);
}
